/*
 * Term.h
 *
 *  Created on: Feb 1, 2011
 *      Author: neo
 */

#ifndef TERM_H_
#define TERM_H_

class Term {
private:

	int m_term_id;

	int m_term_frequency;

public:

	inline int get_tid() const {
		return m_term_id;
	}

	inline int get_tf() const {
		return m_term_frequency;
	}

	inline Term(int term_id, int term_frequency) :
		m_term_id(term_id), m_term_frequency(term_frequency) {
	}

	inline ~Term() {
	}
};

class StructuredTerm {
private:
	int m_term_id;

	int m_summary_tf;

	int m_description_tf;

public:
	inline int get_tid() const {
		return m_term_id;
	}

	inline int get_description_tf() const {
		return this->m_description_tf;
	}

	inline int get_summary_tf() const {
		return m_summary_tf;
	}

	inline StructuredTerm(int term_id, int summary_tf, int description_tf) :
		m_term_id(term_id), m_summary_tf(summary_tf), m_description_tf(description_tf) {
	}

	inline ~StructuredTerm() {
	}
};

#endif /* TERM_H_ */
